package cn.tedu.charging.user.service;

import cn.tedu.charging.common.pojo.param.ChargeParam;
import cn.tedu.charging.common.pojo.param.VehicleBindParam;
import cn.tedu.charging.common.pojo.param.VehicleUnbindParam;
import cn.tedu.charging.common.pojo.vo.VehicleVO;
import cn.tedu.charging.user.mapper.VehicleMapper;

import java.math.BigDecimal;

public interface UserService {
    Integer wxLogin(String nickName, String code);

    BigDecimal getBalance(Integer userId);

    void charge(ChargeParam param);

    VehicleVO getUserBindedVehicle(Integer userId);

    Integer bindVehicle(VehicleBindParam param);

    void unbindVehicle(VehicleUnbindParam param);
}
